implement trie leetcode python

visit shbcf.ru